package com.shitou.shitoumember.exception;


import com.shitou.shitoucommons.exception.ControllerAdviceImpl;
import com.shitou.shitoucommons.exception.RRException;
import com.shitou.shitoucommons.validate.MemberEnum;
import com.shitou.shitoucommons.utils.RespBean;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.BindingResult;
import org.springframework.validation.FieldError;
import org.springframework.web.bind.MethodArgumentNotValidException;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

import java.util.HashMap;
import java.util.Map;

/**
 * class detail: 对controller数据进行异常处理
 * @author 石头人
 */
@SuppressWarnings("all")
@Slf4j
@RestControllerAdvice(basePackages = "com.shitou.shitoumember.controller")
public class MemberExceptionControllerAdvice extends ControllerAdviceImpl {
}
